package com.jjb.www.http.api;

import com.hjq.http.annotation.HttpIgnore;
import com.hjq.http.config.IRequestApi;

import java.util.List;

/**
 * @author CRG
 * @date :2024/1/11 17:42
 * @description:
 */
public class TipsApi implements IRequestApi {
    @HttpIgnore
    private String id;
    private String type;

    public TipsApi setType(String type) {
        this.type = type;
        return this;
    }

    public TipsApi setId(String id) {
        this.id = id;
        return this;
    }

    @Override
    public String getApi() {
        return "/api/teach/v2/cert/tipsView/"+id;
    }
    public static class Bean{

        private List<String> table_th;
        private String table_title;
        private List<TableTrDTO> table_tr;
        private String foot_test;
        private String foot_test_url;

        public List<String> getTable_th() {
            return table_th;
        }

        public void setTable_th(List<String> table_th) {
            this.table_th = table_th;
        }

        public String getTable_title() {
            return table_title;
        }

        public void setTable_title(String table_title) {
            this.table_title = table_title;
        }

        public List<TableTrDTO> getTable_tr() {
            return table_tr;
        }

        public void setTable_tr(List<TableTrDTO> table_tr) {
            this.table_tr = table_tr;
        }

        public String getFoot_test() {
            return foot_test;
        }

        public void setFoot_test(String foot_test) {
            this.foot_test = foot_test;
        }

        public String getFoot_test_url() {
            return foot_test_url;
        }

        public void setFoot_test_url(String foot_test_url) {
            this.foot_test_url = foot_test_url;
        }

        public static class TableTrDTO {
            private List<String> table_td;

            public List<String> getTable_td() {
                return table_td;
            }

            public void setTable_td(List<String> table_td) {
                this.table_td = table_td;
            }
        }
    }
}
